function createXHR()
{
	if (typeof XMLHttpRequest != "undefined")
	{
		return new XMLHttpRequest();
	} // end if
	else if (window.ActiveXObject)
	{
		var aVersions = ["MSXML2.XMLHttp.6.0", "MSXML2.XMLHttp.3.0"];
		for (var i = 0; i < aVersions.length; ++i)
		{
			try
			{
				var oXHR = new ActiveXObject(aVersions[i]);
				return oXHR;
			} // end try
			catch (oError)
			{
				// do nothing
			} // end catch
		} // end for
	} // end else-if
	
	throw new Error("Error creating xhr");
} // end createXHR()

if (!oXHR)
{
	oXHR = createXHR();
} // end if
else if (oXHR.readyState != 0)
{
	oXHR.about();
} // end else-if

oXHR.open("get", "index.action", true);
oXHR.onreadystatechange = function () {
	if (oXHR.readyState == 4)
	{
		if (oXHR.status == 200)
		{
			var divLoadArea = document.getElementById("divLoadArea");
			divLoadArea.innerHTML = oXHR.responseText;
			var divNewPae = document.getElementById("divPage" + iNextPageToLoad);
			divNewPage.style.display = "none";
			document.body.appendChild(divNewPage);
			divLoadArea.innerHTML = 
			
		} // end if
		
	} // end if
	
};

oHXR.send(null);

window.onload = function () {
	if (zxmlhttp.isSupported())
	{
		if (location.href.indexOf("page=" > -1))
		{
			var sQueryString = location.search.substring(1);
			iCurPage = parseInt(sQueryString.substring(sQueryString.indexOf("=" + 1)));
		} // end inner if
		else
		{
			iCurPage = 1;
		} // end else
		iNextPageToLoad = iCurPage + 1;
	} // end if
};

var colLinks = document.getElementsByTagName("a");
for (var i = 0; i < colLinks.length; ++i)
{
	if (colLinks[i].id.indexOf("aPage") ==)
	{
		colLinks[i].onclick = function (oEvent) {
			var sPage
		};
	} // end if
	
} // end for









